<?  if ($LOGIN->accessPhoneCuenta != 1) { ?>
<div id="micuentaTabsC3_loading">Atencion: Servicio no contratado.</div>
<? } ?>
<div id="ABM_mobile" class="formContainer">
  <div class="divLoadingMsg roundedS" id="micuentaTabsC3_loading">Guardando acceso mobile...</div>
  <div class="divErrorMsg roundedS" id="micuentaTabsC3_error">Error: </div>
  <div class="divOkMsg roundedS" id="micuentaTabsC3_ok">Se han salvado los cambios exitosamente.</div>
  <form action="">
    <fieldset>
      <legend>Modificaci&oacute;n de la contrase&ntilde;a</legend>
      <ul class="form tar">
        <li>
          <label for="mobileAlias">Alias mobile:</label>
          <input type="text" id="mobileAlias" size="30" maxlength="50"/>
          <span class="leftNote"></span></li>
        </li>
        <li>
          <label for="mobileChangePass">Cambiar Password:</label>
          <input type="checkbox" name="mobileChangePass" id="mobileChangePass" onclick="changeMobilePass();"/>
          <span class="leftNote"></span></li>
        </li>
        <li>
          <label for="mobilePassword">Password:</label>
          <input type="password" id="mobilePassword" disabled />
          <span class="leftNote"></span> </li>
        <li> </li>
        <label for="mobileRePassword">Repita Password:</label>
        <input type="password" id="mobileRePassword" disabled />
        <span class="leftNote"></span>
        </li>
      </ul>
    </fieldset>
    <?php if ($LOGIN->objetivoDB != 1) { ?>
    <p></p>
    <fieldset>
    <legend>Valores por defecto del mapa</legend>
    <ul class="form tar">
      <li>
        <label for="zoomMobile">Zoom:</label>
        <select name="zoomMobile" id="zoomMobile" size="1" />

        <? for ($i = 1; $i < 19; $i++) {
                    echo "<option value='" . $i . "'>" . $i . "</option>";
                } ?>
        </select>
        <span class="leftNote"></span> </li>
      <li>
        <label for="tipoMapaMobile">Tipo:</label>
        <select name="tipoMapaMobile" id="tipoMapaMobile" size="1" />

        <? $tipoMapas = array('mobile', 'satellite', 'terrain', 'hybrid');
                 for ($i = 0; $i < count($tipoMapas); $i++) {
                    echo "<option value='" . $tipoMapas[$i] . "'>" . $tipoMapas[$i] . "</option>";
                 }
              ?>
        </select>
        <span class="leftNote"></span> </li>
      <?php } ?>
      <li>
        <button type="button" id="btnGrabarMobile"  onclick="grabarMobile();"><img src="../images/icons/aceptar.png" alt=""/>Grabar</button>
        <button type="reset" onclick="cancelarMobile();" id="btnCancelarMobile" ><img src="../images/icons/cancelar.png" alt=""/>Cancelar</button>
      </li>
    </ul>
    </fieldset>
  </form>
</div>